package com.erp.mapper;

import com.erp.entity.Perms;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author pyj
 * @since 2020-11-07
 */
@Mapper
public interface PermsMapper{

    Perms findPermsByName(String name);

    List<Perms> getAll();

    int add(Perms perms);

    int delete(Integer id);

    int update(Perms perms);
}
